/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Controller;

import gui.Toolbar;
import model.ToolbarModel;

/**
 *
 * @author Jelle
 */
public class ToolbarController {

    private ToolbarModel model;
    private Toolbar view;

    /** Constructor
     * @param model
     * @param view
     */
    public ToolbarController(ToolbarModel model, Toolbar view) {
        this.model = model;
        this.view = view;
        model.addObserver(view);
        view.setVisible(true);

    //... Add listeners to the view.
    // view.addMultiplyListener(new MultiplyListener());
    // view.addClearListener(new ClearListener());
    }


}
